Platform Explorer / Nuxeo Platform 6.0

Operation Blob.ToFile (Export to File)

Description

Save the input blob(s) as a file(s) into the given target directory. The blob(s) filename is used as the file name. You can specify an optional prefix string to prepend to the file name. Return back the blob(s).
Operation id Blob.ToFile
Category Files
Label Export to File
Requires
Since

Parameters

Name Description Type Required Default value
directory string yes  
prefix string no  

Signature

Inputs blob, bloblist
Outputs blob, bloblist

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.blob.BlobToFile
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "Blob.ToFile",
  "label" : "Export to File",
  "category" : "Files",
  "requires" : null,
  "description" : "Save the input blob(s) as a file(s) into the given target directory. The blob(s) filename is used as the file name. You can specify an optional <b>prefix</b> string to prepend to the file name. Return back the blob(s).",
  "url" : "Blob.ToFile",
  "signature" : [ "blob", "blob", "bloblist", "bloblist" ],
  "params" : [ {
    "name" : "directory",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "prefix",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}